package middleware

import (
	"github.com/gogf/gf/v2/net/ghttp"
)

// Middleware index中间件管理服务
var Middleware = middlewareService{}

type middlewareService struct {
}

// 自定义上下文对象
func (s *middlewareService) Ctx(r *ghttp.Request) {
	// 初始化，务必最开始执行
	// 执行下一步请求逻辑
	r.Middleware.Next()
}
